package Student;

public class Person {

        private String name;
        private String sex;
        private int age;

        public Person(){
            name = "qiu";
            sex = "男";
            age = 20;
        }
        public Person(String name, String sex, int age) {
            this.name = name;
            this.sex = sex;
            this.age = age;
        }

        @Override
        public String toString() {
            return "Person{" +
                    "name='" + name + '\'' +
                    ", sex='" + sex + '\'' +
                    ", age=" + age +
                    '}';
        }
    }

